import service from "..";
// 获取首页轮播图
export function getBanner() {
    return service({
        method: 'GET',
        url: '/banner?type=2',
    })
}

// return service.get('/banner?type=2').then(res => res.data)
//     .catch(err => err) 
export function getMusicList() {
    return service({
        method: 'GET',
        url: '/personalized?limit=10'
    })
}

export function getNewSong() {
    return service({
        method: 'GET',
        url: '/personalized/newsong'
    })
}


export function getNewCD() {
    return service({
        method: 'GET',
        url: '/album/newest'
    })
}